<template>
  <div id="app">
    <img src="./assets/logo.png">
    <router-link tag="button" to="/">主页</router-link>
    <router-link tag="button" to="/shop">购物中心</router-link>
    <router-link tag="button" to="/user">个人信息</router-link>
    <router-link tag="button" to="/about">关于我们</router-link>
    <router-link tag="button" to="/x1x2x3">火星</router-link>
    <hr>
    <keep-alive>
    <router-view></router-view>
    </keep-alive>
  </div>
</template>

<script>
export default {
  name: 'app',
  data () {
    return{
    }
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 20px;
}

img {
  width: 50px;
  height: 50px;
}
</style>
